package com.jkl.dao.dsRelationship;

import com.jkl.entity.dsRelationship.DsRelationship;
import org.apache.commons.lang3.tuple.ImmutableTriple;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Set;

public interface DsRelationshipMapper {
    List<DsRelationship> queryRelationshipsByIndexCodes(@Param("indexCodes") Set<String> indexCodes);
    int doArchive(@Param("tablename") String tableName, @Param("period") String period, @Param("deptId") Integer deptId, @Param("datalist") List<ImmutableTriple<String,Integer,String>> dataList);
    // 退档操作
    int cancelArchive(@Param("tablename") String tableName, @Param("period") String period, @Param("deptId") Integer deptId, @Param("datalist") List<ImmutableTriple<String,Integer,String>> dataList);
}
